
package com.zhitan.ems.app.iot.wrapper;
import com.zhitan.ems.app.iot.entity.DeviceGroupEntity;
import com.zhitan.ems.app.iot.vo.DeviceGroupVO;
import com.zhitan.ems.common.extra.utils.BeanUtil;
import com.zhitan.ems.framework.core.mp.base.BaseEntityWrapper;
  /**
 * 设备分组 包装类,返回视图层所需的字段
 * @author zhitan
 * 
 * @date 2025-09-19 22:15:46
 */
public class DeviceGroupWrapper extends BaseEntityWrapper<DeviceGroupEntity, DeviceGroupVO>  {
    public static DeviceGroupWrapper build() {
        return new DeviceGroupWrapper();
    }
	@Override
	public DeviceGroupVO entityVO(DeviceGroupEntity deviceGroup) {
		if(deviceGroup==null) {
			return null;
		}
		DeviceGroupVO deviceGroupVO = BeanUtil.copy(deviceGroup, DeviceGroupVO.class);
		return deviceGroupVO;
	}

}
